import request from '@/utils/request'

// 列表
const evaluationList = function (params = {}) {
  return request({
    url: '/zy-api/api/argumentevaluation/getList',
    method: 'post',
    data: params
  })
}

// 新增
const addEvaluation = function (params = {}) {
  return request({
    url: '/zy-api/api/argumentevaluation/insert',
    method: 'post',
    data: params
  })
}

// 编辑
const editEvaluation = function (params = {}) {
  return request({
    url: '/zy-api/api/argumentevaluation/update',
    method: 'post',
    data: params
  })
}

// 删除
const delEvaluation = function (params = {}) {
  return request({
    url: '/zy-api/api/argumentevaluation/delete',
    method: 'post',
    data: params
  })
}

// 导出
const exportEvaluation = function (params = {}) {
  return request({
    url: '/zy-api/api/argumentevaluation/export',
    method: 'post',
    data: params
  })
}

export {
  evaluationList,
  addEvaluation,
  editEvaluation,
  delEvaluation,
  exportEvaluation
}